<%@ include file="/WEB-INF/jsp/include/head.jsp" %><%@ page language="java" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko">
<head>
	<%@ include file="/WEB-INF/jsp/include/title.jsp" %>
	<%@ include file="/WEB-INF/jsp/include/common_css.jsp" %>
</head>
<body>
<%@ include file="/WEB-INF/jsp/include/top.jsp" %>
	<h1>Home Page</h1>
	<div id="contents" class="contents">
		<h2>Your principal object is:</h2>
		<div class="alertMsg"><%=request.getUserPrincipal()%></div>
		
		<sec:authentication property="principal.username"/>
		<br /> 
		<sec:authorize ifAllGranted="BF_QUOTE_CREATE">
			<p><a href="http://www.yahoo.com">Yahoo</a></p>
		</sec:authorize>
		<sec:authorize ifAnyGranted="ROLE_ADMIN,ROLE_SUPER_USER">
			<p><a href="http://www.google.com">Google</a></p>
		</sec:authorize>
		<br />
		<sec:authentication property="name" />
		<br />
		<sec:authentication property="principal.enabled"/>
		<br />
		<sec:authentication property="principal.accountNonLocked"/>
	</div>	
<%@ include file="/WEB-INF/jsp/include/footer.jsp" %>	 
</body>
</html>